#pragma once
#include "CreateObject.h"
#include "NxPhysics.h"

class FirstModule
{
private:
	NxScene* m_scene;
	CreateObject m_object;
	NxVec3 m_position;

public:
	FirstModule(NxScene* scene, NxVec3 position);
	~FirstModule(void);

	void CreateFirstModule(float bowlingBallStartVelocity , float toolBoxMass, float seesawDistance, float slopeAngle);

private:
	//create the first slope
	void CreateFirstSlope(const NxVec3& position);
	void CreateSecondSlope(const NxVec3& position, float angle);
	NxActor* CreateSeesaw(const NxVec3& position);
};
